package com.itcheetah.springevent.publisher;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @className: MonkeyKingEvent
 * @description: 孙悟空的金箍棒敲地事件
 * @author: cheetah
 * @date: 2021/11/29 16:57
 * @Version: 1.0
 */
@Getter
public class MonkeyKingEvent extends ApplicationEvent {

    private MonkeyKing monkeyKing;

    public MonkeyKingEvent(MonkeyKing monkeyKing) {
        super("monkeyKing");
        this.monkeyKing = monkeyKing;
    }

}
